<?php echo $header; ?>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/nivoSlider.css" />
<script src="catalog/view/javascript/jquery/nivo-slider/jquery.nivo.slider.js" type="text/javascript"></script>
<script type="text/javascript"><!--
$(document).ready(function() {
  $('#slideshow').nivoSlider();
});
--></script>
<div class="slideshow">
  <div class="sl_arrow_tl"></div>
  <div class="sl_arrow_tr"></div>
  <div class="sl_arrow_bl"></div>
  <div class="sl_arrow_br"></div>
  <div id="slideshow" class="nivoSlider">
    <?php foreach ($traodoilogos as $traodoilogo) { ?>
      <?php if($traodoilogo['linkwebsite']) { ?>
        <a href="<?php echo $traodoilogo['linkwebsite']; ?>"><img src='<?php echo $traodoilogo['image']; ?>' /></a>
      <?php } else { ?>
        <img src='<?php echo $traodoilogo['image']; ?>' />
      <?php } ?>
    <?php } ?>
  </div>
</div>
<?php echo $column_left; ?>
<div id="content">
    <!-- list sản phẩm -->
<ul class='hlist product-list'>
  <?php foreach($danhmuchomes as $key => $value){ ?>
       <!-- sản phẩm tiêu biểu -->
    <div class="hr2 hr_flag ">
      <div class="primary-background flag">
        <span class="flag-text on-primary-color"><?php echo $value['name']; ?></span>
        <span class="flag-diamond site-background"></span>
        <span class="extralight-border"></span>
      </div>      
      <span class="hr-seperator extralight-border"></span>
      <span class="primary-background seperator-addon"></span>
    </div>
    <!-- end sản phẩm tiêu biêu -->
  <?php foreach($value['products'] as $k => $v){ ?>
        <li class="product col-3 diet-gf 231 biglink">
          <img height="162" alt="" src="<?php echo $v['thumb']; ?>" height="162px" width='217px' align='left' />
          <div class="product-main">
            <h2>
              <a href="/store/maries-chocolate-pudding-1/"><?php echo $v['name']; ?></a>
            </h2>
          </div>
          <div class="product-links">
            <form class="foxycart btn" action="<?php echo $v['href'] ?>" method="post" id="foxycart_271">
              <input type='submit'   style="font-size:11px;padding:3px 5px;"  class="btn1 red" value="Đặt Mua" />
            </form>
          </div>
        </li>
  <?php   
      }
    } 
  ?>

</ul>
    <!-- end list sản phẩm -->
</div>
<div style="clear:both;"></div>
<?php echo $footer; ?> 